package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.CarPackageAudit;
import cn.wolfcode.car.business.query.CarPackageAuditQuery;
import cn.wolfcode.car.business.query.CarPackageAuditQueryUp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface CarPackageAuditMapper extends BaseMapper<CarPackageAudit> {
    int deleteByPrimaryKey(Long id);

    int insert(CarPackageAudit record);

    CarPackageAudit selectByPrimaryKey(Long id);

    List<CarPackageAudit> selectAll();

    int updateByPrimaryKey(CarPackageAudit record);

    List<CarPackageAudit> selectByCondition(CarPackageAuditQuery carPackageAuditQuery);

    List<CarPackageAudit> selectByAuditorId(Long id);

    List<CarPackageAudit> selectByAuditorIdAndStatus(CarPackageAuditQueryUp carPackageAuditQuery);

    List<CarPackageAudit> selectByUserName(String userName);
}